const express = require('express');
const router = express.Router();
const userController = require('../controllers/loginController');

router.post('/login', userController.login);
router.post('/logout', userController.logout);
router.get('/code', userController.code);

module.exports = router;